package com.lbc.bean.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author xyl
 * @date 2021-03-19 20:59
 */
@ApiModel("重置密码")
@Data
public class ResetPasswordDTO {
    @ApiModelProperty(value = "密码",required = true)
    @NotBlank(message = "密码不能为空")
    private String password;
    @ApiModelProperty(value = "邮箱",required = true)
    @NotBlank(message = "邮箱不能为空")
    private String mail;
    @ApiModelProperty(value = "邮箱码",required = true)
    @NotBlank(message = "邮箱码不能为空")
    private String mailCode;
}
